﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class User_HeadMasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Bt_findmovies_Click(object sender, EventArgs e)
    {
        var  key=TB_keymovies.Text.Trim();
        if (key == "")
            return;
        Response.Redirect("~/User/movieresult.aspx?key="+key, false);
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        LinkButton bt = (sender as LinkButton);
        switch (bt.ID)
        { 
            case "LB_new":
                Response.Redirect("~/User/movieresult.aspx?type=最新", false);
                break;
            case "LB_China":
                Response.Redirect("~/User/movieresult.aspx?type=国产", false);
                break;
            case "LB_Japan":
                Response.Redirect("~/User/movieresult.aspx?type=日本", false);
                break;
            case "LB_Korea":
                Response.Redirect("~/User/movieresult.aspx?type=韩国", false);
                break;
        }
    }
    protected void BT_login_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/Login.aspx", false);
    }
}
